﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace __tier_generator
{
    class LastSettings
    {
        private string server = "";
        public string Server
        {
            get { return server; }
            set { server = value; }
        }

        private string userID = "";
        public string UserID
        {
            get { return userID; }
            set { userID = value; }
        }

        private string password = "";
        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        private string dataBase = "";
        public string DataBase
        {
            get { return dataBase; }
            set { dataBase = value; }
        }

        private bool insert = false;
        public bool Insert
        {
            get { return insert; }
            set { insert = value; }
        }

        private bool update = false;
        public bool Update
        {
            get { return update; }
            set { update = value; }
        }

        private bool delete = false;
        public bool Delete
        {
            get { return delete; }
            set { delete = value; }
        }

        private bool select = false;
        public bool Select
        {
            get { return select; }
            set { select = value; }
        }

        private bool insert_Update = false;
        public bool Insert_Update
        {
            get { return insert_Update; }
            set { insert_Update = value; }
        }

        private bool alter = false;
        public bool Alter
        {
            get { return alter; }
            set { alter = value; }
        }

        private string storedProcedureSuffix = "";
        public string StoredProcedureSuffix
        {
            get { return storedProcedureSuffix; }
            set { storedProcedureSuffix = value; }
        }

        private bool generateDataLayer = false;
        public bool  GenerateDataLayer
        {
            get { return generateDataLayer; }
            set { generateDataLayer = value; }
        }

        private string dataLayerNameSpace = "";
        public string DataLayerNameSpace
        {
            get { return dataLayerNameSpace; }
            set { dataLayerNameSpace = value; }
        }

        private bool includeSQLStatement = false;
        public bool IncludeSQLStatement
        {
            get { return includeSQLStatement; }
            set { includeSQLStatement = value; }
        }

        private bool generateDataproject = false;
        public bool GenerateDataproject
        {
            get { return generateDataproject; }
            set { generateDataproject = value; }
        }

        private bool generateBusinessLayer = false;
        public bool GenerateBusinessLayer
        {
            get { return generateBusinessLayer; }
            set { generateBusinessLayer = value; }
        }

        private string businessLayerNameSpace = "";
        public string BusinessLayerNameSpace
        {
            get { return businessLayerNameSpace; }
            set { businessLayerNameSpace = value; }
        }

        private bool generateBusinessproject = false;
        public bool GenerateBusinessproject
        {
            get { return generateBusinessproject; }
            set { generateBusinessproject = value; }
        }

        DataTable tables = new DataTable("Tables");
        public DataTable Tables
        {
            get { return tables; }
            set { tables = value; }
        }

        DataTable columns = new DataTable("Columns");
        public DataTable Columns
        {
            get { return Columns; }
            set { Columns = value; }
        }
    }
}